﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharedGenomics.Core.Configuration
{
    public abstract class ConfigurationReaderBase : IConfigurationReader
    {
        public abstract string GetConnectionString(string connectionStringName);
        public abstract string GetAppSetting(string settingName);

        public bool IsProductionEnvironment
        {
            get { return this.GetAppSetting("productionEnvironment") == "production"; }
        }
    }
}
